<!DOCTYPE html>
<html lang="zh-cn">
	<head>
	    <meta charset="utf-8">
	   	<title>JS</title>
	   	<script type="text/javascript">
	   		//alert("Hello JS");
	   		//console.log("Hello JS");
	   		rows=5;
	   		function createImg(url){
	   			document.writeln('<img width="200px" src="'+url+'">');
	   		}
	   	</script>
	</head>
	<body>
		<table border="1">
			<tr>
				<td width="200px">ID</td>
			</tr>	
			<script type="text/javascript">
				for(var i=0;i<rows;i++){
					document.writeln("<tr>");
					document.writeln("<td>"+i+"</td>")
					document.writeln("</tr>");
				}
			</script>
			<tr>
				<td >
					<script type="text/javascript">
					createImg("http://www.pzhu.cn/uploadfile/Image/hzy2015s/20150114185257-yq.jpg");
					</script>
				</td>
			</tr>

		</table>
	</body>
</html>